package com.retoc.oawx.mapper;

import com.retoc.oawx.domain.Meeting;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * @author retoc
 * @description 针对表【tb_meeting(会议表)】的数据库操作Mapper
 * @createDate 2022-05-01 20:00:13
 * @Entity com.retoc.oawx.domain.Meeting
 */
@Mapper
public interface MeetingMapper extends BaseMapper<Meeting> {

    public int insertMeeting(Meeting meeting);

    public ArrayList<HashMap> selectMeetingByCreator(HashMap param);

    public Meeting searchMeetingByInstanceId(String instanceId);

    public boolean searchMeetingMembersInSameDept(String uuid);

    public int updateMeetingInstanceId(HashMap map);

    public int updateMeetingStatus(HashMap map);

    public int approveMeetingByInstanceId(String instanceId);

    public HashMap searchMeetingById(int meetingId);

    public ArrayList<HashMap> searchMeetingMembers(int meetingId);

    public int updateMeetingInfo(HashMap param);

    public int deleteMeetingById(int id);

}




